package com.summer.campussct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.campussct.pojo.Banner;
import com.summer.campussct.pojo.dto.RestResult;

public interface IBannerService extends IService<Banner> {
    RestResult getBannerByCategoryId(Integer categoryId, Integer campusOrShopType);

    RestResult addBanner(Banner banner);

    RestResult getDetails(long id);

    RestResult modifyBanner(Banner banner);

    RestResult deleteBanner(long id);
}
